<template>
  <div>
    <editor-bar v-model="detail"
                :isClear="isClear"
                @change="change"></editor-bar>
  </div>
</template>

<script>
// @ is an alias to /src
import EditorBar from '@/components/wangEnduit.vue'

export default {
  name: 'Home',
  components: {
    EditorBar
  },
  data () {
    return {
      isClear: false,
      detail: ""
    }
  },
  methods: {
    change (val) {
      console.log(val)
    }
  }
}
</script>

